import Layout from '@/layout';
// // 由于懒加载页面太多的话会造成webpack热更新太慢，所以开发环境不使用懒加载，只有生产环境使用懒加载
const _import = require('@/utils/util.import');
const meta = { auth: true, menuId: '/ProwerInquire' };
export default {
  path: '/ProwerInquire',
  meta: {
    ...meta,
    icon: 'setting',
    title: '潜客查询',
  },
  component: Layout,
  children: ((basePath) => [
    {
      path: `${basePath}/index`, //路由地址
      name:'ProwerInquire',
      component: _import('system/ProwerInquire'), //页面路径
      meta: {
        ...meta,
        title: '潜客管户信息查询',
      },
    },
    {
      path: `${basePath}/SynthesisInfo`,
      component: _import('system/ProwerInquire/SynthesisInfo'),
      name:'SynthesisInfo',
      meta: {
        ...meta,
        title: '潜客综合信息查询',
      },
    },
    {
      path: `${basePath}/AttributionHistory`,
      component: _import('system/ProwerInquire/AttributionHistory'),
      name:'AttributionHistory',
      meta: {
        ...meta,
        title: '潜客归属历史查询',
      },
    },
    {
      path: `${basePath}/CustomerInquiry`,
      component: _import('system/ProwerInquire/CustomerInquiry'),
      name:'CustomerInquiry',
      meta: {
        ...meta,
        title: '客户综合信息查询',
      },
    },
  ])('/ProwerInquire'),
};
